<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/11/19
  Time: 20:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>薪酬标准管理</title>
    <link href="../../css/mine.css" type="text/css" rel="stylesheet">
</head>

<body>

<div class="div_head">
            <span>
                <span style="float:left">当前位置是：-系统管理》部门管理</span>
                <span style="float:right;margin-right: 8px;font-weight: bold">
				    <a style="text-decoration: none" href="${pageContext.request.contextPath}/resource/demo1/updatebefore?id=${dept.id}">【修改】</a>
					<a style="text-decoration: none" href="${pageContext.request.contextPath}/resource/demo1/addbefore?pid=${dept.PId}">【添加子部门】</a>
					<a style="text-decoration: none" href="${pageContext.request.contextPath}/resource/demo1/delete?id=${dept.id}">【删除】</a>
                </span>
            </span>
</div>
<div></div>

<div style="font-size: 13px;margin: 10px 5px">
    <form action="./admin.php?c=goods&a=add" method="post" enctype="multipart/form-data">
        <table border="1" width="100%" class="table_a">
            <tr>
                <td width="120px;">部门编码：</td>
                <td>
                    ${dept.PId}
                </td>
            </tr>
            <tr>
                <td>部门简称：</td>
                <td>
                    ${dept.name}
                </td>
            </tr>
            <tr>
                <td>部门全称：</td>
                <td>
                    ${dept.fullName}
                </td>
            </tr>
            <tr>
                <td>上级部门：</td>
                <input type="hidden" name="pId" value="${dept.PId}">
                <td>
                    <c:if test="${highName==null}">
                        启明星辰
                    </c:if>
                    ${highName}
                </td>
            </tr>
            <tr>
                <td>地址：</td>
                <td>
                    ${dept.address}
                </td>
            </tr>
            <tr>
                <td>简介：</td>
                <td>
                    ${dept.description}
                </td>
            </tr>


            <tr>
                <td>备注：</td>
                <td>
                    ${dept.remark}
                </td>
            </tr>

            <tr>
                <td>是否启用：</td>
                <td>
                    <c:if test="${dept.state==1}">
                        是
                    </c:if>
                    <c:if test="${dept.state!=1}">
                        否
                    </c:if>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
